<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>退款管理</title>
    <%@ include file="/WEB-INF/views/commons/common.jsp"%>
    <script type="text/javascript" src="/static/js/system/refundManagementItem.js"></script>
</head>
<body>
    <%--数据表格--%>
    <table id="refundManagementItem_datagrid" ></table>

    <%--表格工具栏--%>
    <div id="tb">
        <div>
        <a href="JavaScript:;" class="easyui-linkbutton" data-options="iconCls:'icon-add',plain:true" data-cmd="add">添加</a>
        <a href="JavaScript:;" class="easyui-linkbutton" data-options="iconCls:'icon-edit',plain:true" data-cmd="edit">编辑</a>
        <a href="JavaScript:;" class="easyui-linkbutton" data-options="iconCls:'icon-tip',plain:true" data-cmd="lookView">查看</a>
        <a href="JavaScript:;" class="easyui-linkbutton" data-options="iconCls:'icon-man',plain:true" data-cmd="audit">审核</a>
        <a href="JavaScript:;" class="easyui-linkbutton" data-options="iconCls:'icon-reload',plain:true" data-cmd="reload">刷新</a>
        </div>
        <div>
            支付方式:
            <input class="easyui-combobox" name="paymentTypeId" id="paymentTypeId" prompt="支付方式" data-options="
                        url:'/dictionaryItem/getDictionaryItemByParentName.do?content='+'收款类型',
                        valueField:'id',
                        textField:'name',
                        panelHeight:'auto'
                    ">
            班级:
            <input class="easyui-combobox" name="clazzId" id="clazzId" prompt="班级" data-options="
                        url:'/clazz/listData.do',
                        valueField:'id',
                        textField:'name',
                        panelHeight:'auto'
                    ">
            退款时间:
            <input type="text" class="easyui-datetimebox" name="beginDate"  id="beginDate" prompt="开始时间"/>--
            <input type="text" class="easyui-datetimebox" name="endDate"  id="endDate" prompt="结束时间"/>
            <a href="JavaScript:;" class="easyui-linkbutton" data-cmd="searchT"
               data-options="iconCls:'icon-search',plain:true">查询</a>
        </div>
    </div>


    <%--添加和编辑弹窗--%>
    <div id="refundManagementItem_dialog" align="center">
        <form id="refundManagementItem_form" method="post">
        <table align="center" style="margin-top: 20px;
                border-collapse:separate; border-spacing:0 10px;">
            <input type="hidden" id="refundManagementItemId" name="id">
            <input type="hidden" name="auditState" id="auditState">
            <tr>
                <td>学员姓名:</td>
                <td>
                    <input class="easyui-combobox readOn" editable="false" name="stuName.id" data-options="
                        url:'/officialStudent/listData.do',
                        valueField:'id',
                        textField:'name',
                        panelHeight:'auto'
                    ">
                </td>
            </tr>
            <tr>
                <td align="right">班级:</td>
                <td>
                    <input class="easyui-combobox readOn" editable="false" name="clazzId.id" data-options="
                        url:'/clazz/listData.do',
                        valueField:'id',
                        textField:'name',
                        panelHeight:'auto'
                    ">
                </td>
            </tr>
            <tr>
                <td align="right">退款时间:</td>
                <td>
                    <input class="easyui-datetimebox readOn" name="refundTime">
                </td>
            </tr>
            <tr>
                <td>退款金额:</td>
                <td><input class="easyui-textbox readOn" name="refundAmount"/></td>
            </tr>
            <tr>
                <td align="right">退款人:</td>
                <td>
                    <input class="easyui-combobox readOn" editable="false" name="expenditureUser.id" data-options="
                        url:'/employee/listData.do',
                        valueField:'id',
                        textField:'username',
                        panelHeight:'auto'
                    ">
                </td>
            </tr>
            <tr>
                <td align="right">录入人:</td>
                <td>
                    <input class="easyui-combobox readOn" editable="false" name="entryUser.id" data-options="
                        url:'/employee/listData.do',
                        valueField:'id',
                        textField:'username',
                        panelHeight:'auto'
                    ">
                </td>
            </tr>
            <tr>
                <td align="right">支付方式:</td>
                <td>
                    <input class="easyui-combobox readOn" editable="false" name="paymentType.id" data-options="
                        url:'/dictionaryItem/getDictionaryItemByParentName.do?content='+'收款类型',
                        valueField:'id',
                        textField:'name',
                        panelHeight:'auto'
                    ">
                </td>
            </tr>

            <tr>
                <td align="right">花费类型:</td>
                <td>
                    <input class="easyui-combobox readOn" editable="false" name="expenditureType.id" data-options="
                        url:'/dictionaryItem/getDictionaryItemByParentName.do?content='+'花费类型',
                        valueField:'id',
                        textField:'name',
                        panelHeight:'auto'
                    ">
                </td>
            </tr>

            <tr>
                <td>单据号:</td>
                <td><input class="easyui-textbox readOn" name="documentNo"/></td>
            </tr>

            <tr>
                <td>退款原因:</td>
                <td>
                    <input class="easyui-textbox readOn" name="refundReason" style="width: 140px;height: 50px"/>
                </td>
            </tr>


        </table>
        </form>
    </div>

    <%--弹窗底部按钮--%>
    <div id="bb">
        <a href="JavaScript:;" class="easyui-linkbutton dialog-button" id="btn_save" iconCls="icon-save" data-cmd="save">保存</a>
        <a href="JavaScript:;" class="easyui-linkbutton dialog-button" iconCls="icon-cancel" data-cmd="cancel">关闭</a>
    </div>
    <div id="cc">
        <a href="JavaScript:;" class="easyui-linkbutton" iconCls="icon-cancel" data-cmd="cancel">关闭</a>
    </div>

</body>
</html>
